package com.apexedu.eas.entity;

import javax.persistence.Basic;
import javax.persistence.Entity;
import javax.persistence.Id;

/**
 * 年级
 * Created with IntelliJ IDEA.
 * User: Administrator
 * Date: 13-11-13
 * Time: 下午4:37
 * To change this template use File | Settings | File Templates.
 */
@javax.persistence.Table(name = "T_NJ")
@Entity
public class TNj {
    private int id;
    private Integer zzjg; //就读学校
    private Integer rxnf; //入学年份
    private Integer xq;   //入学学期
    private Integer hbNj; //年级代码
    private String njmc;  //年级名称
    private Integer hbXz; //学制

    @javax.persistence.Column(name = "ID")
    @Id
    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    @javax.persistence.Column(name = "ZZJG")
    @Basic
    public Integer getZzjg() {
        return zzjg;
    }

    public void setZzjg(Integer zzjg) {
        this.zzjg = zzjg;
    }

    @javax.persistence.Column(name = "RXNF")
    @Basic
    public Integer getRxnf() {
        return rxnf;
    }

    public void setRxnf(Integer rxnf) {
        this.rxnf = rxnf;
    }

    @javax.persistence.Column(name = "XQ")
    @Basic
    public Integer getXq() {
        return xq;
    }

    public void setXq(Integer xq) {
        this.xq = xq;
    }

    @javax.persistence.Column(name = "HB_NJ")
    @Basic
    public Integer getHbNj() {
        return hbNj;
    }

    public void setHbNj(Integer hbNj) {
        this.hbNj = hbNj;
    }

    @javax.persistence.Column(name = "NJMC")
    @Basic
    public String getNjmc() {
        return njmc;
    }

    public void setNjmc(String njmc) {
        this.njmc = njmc;
    }

    @javax.persistence.Column(name = "HB_XZ")
    @Basic
    public Integer getHbXz() {
        return hbXz;
    }

    public void setHbXz(Integer hbXz) {
        this.hbXz = hbXz;
    }

}
